package com.example.day12;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class MyReceiver2  extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
//        abortBroadcast();
        Bundle bundle=getResultExtras(false);
//        Log.e("#####",bundle.getString("msg")+"@@@");
        Log.e("#####",bundle.getString("msg")+"本地@@@");
//        MainActivity.textView.setText("那啥没信号了");
        MainActivity.textView.setText("最后一个");

    }
}
